<?php
// +----------------------------------------------------------------------
// | Description: 用户表
// +----------------------------------------------------------------------
// | Author: orchief
// +----------------------------------------------------------------------
// | Date: 2018-01-24 16:50:46
// +----------------------------------------------------------------------

namespace App\Validate;

use App\Common\Validate;

class MemberStatusValidate extends Validate
{
    protected $rule = array(
        'password' => 'require',
        'username' => 'require'
    );
    protected $message = array(
        'password.require' => '请输入密码',
        'username.require' => '请输入用户名'
    );
    protected $scene = [
        'Update' => ['username', 'password'],
    ];
}
